cpuidle: redirect some hpet lock users to a new cpumask_lock
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 17 Jun 2010 07:52:50 +0000 (08:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 17 Jun 2010 07:52:50 +0000 (08:52 +0100)
commitdf52a1391236928859f95290a21713fc533386bf
tree7a356ed717ba4c186a5e081950d2c4d0f5c9ef3e
parentaa42fc0e9cd965a52fbcdc289bad94645ae59afe
cpuidle: redirect some hpet lock users to a new cpumask_lock

The hpet channel lock was also used for prevent handle_hpet_broadcast
access other cpu's timer_deadline_start/end after other cpu was
already waken up.
This purpose can be approached via a standalone lock to remove much
spins on the hpet channel lock.

Signed-off-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/hpet.c